package com.city.service.party.impl;

import com.city.domain.party.PartyCadreLevel;
import com.city.repository.party.PartyCadreLevelRepository;
import com.city.service.party.PartyCadreLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @deprecation: 政治级别分类
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
@Service
public class PartyCadreLevelServiceImpl implements PartyCadreLevelService {

    @Autowired
    private PartyCadreLevelRepository partyCadreLevelRepository;

    /**
     * *
      *@author: WY
      *@date: 2018/7/19 16:06
      *@description:查询所有政治级别
     *
     * @return
     */
    @Override
    public List<PartyCadreLevel> findAll() {
        return partyCadreLevelRepository.findAll();
    }
}
